package org.dftproject.lineagelinkage.ui.pages;

import org.dftproject.genesis.data.genealogy.IPerson;
import org.dftproject.genesis.ui.pages.AbstractPageInput;
import org.dftproject.lineagelinkage.ui.Activator;

public class MergePageInput extends AbstractPageInput {
	
	private final IPerson person;
	private final IPerson duplicate;
	
	public MergePageInput(IPerson person, IPerson duplicate) {
		this.person = person;
		this.duplicate = duplicate;
		
		setLabel("Merge");
		setImageDescriptor(Activator.getImageDescriptor("icons/arrow_join.png"));
	}
	
	public IPerson getPerson() {
		return person;
	}
	
	public IPerson getDuplicate() {
		return duplicate;
	}

}
